
import request from '@/plugins/request'

// 城市
export function cityfilter(data) {
    return request({
        url: 'common/cityfilter',
        method: 'get',
        params:data,
    })
}
// 定位城市
export function locationcity(data) {
    return request({
        url: 'common/locationcity',
        method: 'get',
        params:data,
    })
}

// 驾校
export function school(data) {
    return request({
        url: 'school',
        method: 'get',
        params:data,
    })
}
// 驾校详情
export function schoolDetail(data) {
    return request({
        url: 'school/detail',
        method: 'get',
        params:data,
    })
}
// 教练
export function coach(data) {
    return request({
        url: 'coach',
        method: 'get',
        params:data,
    })
}
// 教练
export function coachDetail(data) {
    return request({
        url: 'coach/detail',
        method: 'get',
        params:data,
    })
}
// 指南tab选项
export function articleOption(data) {
    return request({
        url: 'article/option',
        method: 'get',
        params:data,
    })
}
//  文章列表
export function article(data) {
    return request({
        url: 'article',
        method: 'get',
        params:data,
    })
}
// 文章详情
export function articleDetail(data) {
    return request({
        url: 'article/detail',
        method: 'get',
        params:data,
    })
}
// 热门文章
export function articleHot(data) {
    return request({
        url: 'article/hot',
        method: 'get',
        params:data,
    })
}
// 考试预约
export function appointmentwebsite(data) {
    return request({
        url: 'common/appointmentwebsite',
        method: 'get',
        params:data,
    })
}
